package com.hdoit.apollo.logical.inventory.model;


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Entity;

import com.hdoit.apollo.logical.cargo.model.Collocation;
import com.hdoit.apollo.logical.stock.model.StockCollocation;
import com.tennetcn.data.message.ModelBase;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月10日 11:27:57
 * @comment
 */
@Entity
@Table(name="stock_inventory_collocation")
public class InventoryCollocation extends ModelBase{
    /**
     *id
     */
    @Id
    @Column(name="inventoryCollocationId")
    private String inventoryCollocationId;

    /**
     *货物规格属性搭配表Id
     */
    @Column(name="collocationId")
    private String collocationId;

    /**
     *货物出库详情
     */
    @Column(name="showId")
    private String showId;

    /**
     *盘盈数
     */
    @Column(name="overageNumCollocation")
    private Double overageNumCollocation;

    /**
     *盘亏数
     */
    @Column(name="lossNumCollocation")
    private Double lossNumCollocation;

    /**
     *实际数
     */
    @Column(name="actualNumCollocation")
    private Double actualNumCollocation;

    /**
     *账面数
     */
    @Column(name="bookNumCollocation")
    private Double bookNumCollocation;

    /**
     *门店id
     */
    @Column(name="shopId")
    private String shopId;

    /**
     *创建时间
     */
    @Column(name="createDate")
    private Date createDate;

    /**
     *创建人id
     */
    @Column(name="createUserId")
    private String createUserId;

    /**
     *创建人名称
     */
    @Column(name="createUserName")
    private String createUserName;

    /**
     *修改时间
     */
    @Column(name="modifyDate")
    private Date modifyDate;

    /**
     *修改人id
     */
    @Column(name="modifyUserId")
    private String modifyUserId;

    /**
     *修改人名称
     */
    @Column(name="modifyUserName")
    private String modifyUserName;

    /**
     *删除标记
     */
    @Column(name="deleteMark")
    private Integer deleteMark;

    /**
     *备注
     */
    @Column(name="comment")
    private String comment;
    
    @Transient
    private Collocation collocation;
    
    //ionic 标记字段(与ionic进行数据对接)
    @Transient
    private StockCollocation stockCollocation;
    

    public Collocation getCollocation() {
		return collocation;
	}
	public void setCollocation(Collocation collocation) {
		this.collocation = collocation;
	}
	public StockCollocation getStockCollocation() {
		return stockCollocation;
	}
	public void setStockCollocation(StockCollocation stockCollocation) {
		this.stockCollocation = stockCollocation;
	}
	public String getInventoryCollocationId(){
        return this.inventoryCollocationId;
    }
    public void setInventoryCollocationId(String inventoryCollocationId){
         this.inventoryCollocationId=inventoryCollocationId;
    }

    public String getCollocationId(){
        return this.collocationId;
    }
    public void setCollocationId(String collocationId){
         this.collocationId=collocationId;
    }

    public String getShowId(){
        return this.showId;
    }
    public void setShowId(String showId){
         this.showId=showId;
    }

    public Double getOverageNumCollocation(){
        return this.overageNumCollocation;
    }
    public void setOverageNumCollocation(Double overageNumCollocation){
         this.overageNumCollocation=overageNumCollocation;
    }

    public Double getLossNumCollocation(){
        return this.lossNumCollocation;
    }
    public void setLossNumCollocation(Double lossNumCollocation){
         this.lossNumCollocation=lossNumCollocation;
    }

    public Double getActualNumCollocation(){
        return this.actualNumCollocation;
    }
    public void setActualNumCollocation(Double actualNumCollocation){
         this.actualNumCollocation=actualNumCollocation;
    }

    public Double getBookNumCollocation(){
        return this.bookNumCollocation;
    }
    public void setBookNumCollocation(Double bookNumCollocation){
         this.bookNumCollocation=bookNumCollocation;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getComment(){
        return this.comment;
    }
    public void setComment(String comment){
         this.comment=comment;
    }

}